package com.yemast.readertesst

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.yemast.readertesst.model.MainPageData

class Tuijianadapter : BaseQuickAdapter<MainPageData, BaseViewHolder>(R.layout.item_tuijian_view) {
    override fun convert(helper: BaseViewHolder, item: MainPageData?) {
        helper?.run {
            item?.run {
                setText(R.id.tv_book_name, name)
                setText(R.id.tv_book_author, author)
            }
        }
    }


}